package com.runfast.waimai.dao.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class RunfastShopper implements Serializable {
    private Integer id;

    private Date createtime;

    private Integer creditrating;

    private String distribution;

    private Integer distributionmun;

    private Date endtime;

    private String munber;

    private String name;

    private String password;

    private Date starttime;

    private String username;

    private String worktoday;

    private String latitude;

    private String longitude;

    private BigDecimal interimremainder;

    private BigDecimal minmonety;

    private BigDecimal remainder;

    private String bdchannelid;

    private String bduserid;

    private Integer bptype;

    private Integer creditlevelid;

    private Integer agentid;

    private String agentname;

    private Integer working;

    private Integer status;

    private String otherid;

    private Integer pushtype;

    private Integer teamid;

    private String teamname;

    private String alias;

    private Double distance;

    private BigDecimal coefficient;

    /**
     * 工作性质（1全职或者兼职 0）
     */
    private Integer workType;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public RunfastShopper withId(Integer id) {
        this.setId(id);
        return this;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public RunfastShopper withCreatetime(Date createtime) {
        this.setCreatetime(createtime);
        return this;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Integer getCreditrating() {
        return creditrating;
    }

    public RunfastShopper withCreditrating(Integer creditrating) {
        this.setCreditrating(creditrating);
        return this;
    }

    public void setCreditrating(Integer creditrating) {
        this.creditrating = creditrating;
    }

    public String getDistribution() {
        return distribution;
    }

    public RunfastShopper withDistribution(String distribution) {
        this.setDistribution(distribution);
        return this;
    }

    public void setDistribution(String distribution) {
        this.distribution = distribution == null ? null : distribution.trim();
    }

    public Integer getDistributionmun() {
        return distributionmun;
    }

    public RunfastShopper withDistributionmun(Integer distributionmun) {
        this.setDistributionmun(distributionmun);
        return this;
    }

    public void setDistributionmun(Integer distributionmun) {
        this.distributionmun = distributionmun;
    }

    public Date getEndtime() {
        return endtime;
    }

    public RunfastShopper withEndtime(Date endtime) {
        this.setEndtime(endtime);
        return this;
    }

    public void setEndtime(Date endtime) {
        this.endtime = endtime;
    }

    public String getMunber() {
        return munber;
    }

    public RunfastShopper withMunber(String munber) {
        this.setMunber(munber);
        return this;
    }

    public void setMunber(String munber) {
        this.munber = munber == null ? null : munber.trim();
    }

    public String getName() {
        return name;
    }

    public RunfastShopper withName(String name) {
        this.setName(name);
        return this;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getPassword() {
        return password;
    }

    public RunfastShopper withPassword(String password) {
        this.setPassword(password);
        return this;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public Date getStarttime() {
        return starttime;
    }

    public RunfastShopper withStarttime(Date starttime) {
        this.setStarttime(starttime);
        return this;
    }

    public void setStarttime(Date starttime) {
        this.starttime = starttime;
    }

    public String getUsername() {
        return username;
    }

    public RunfastShopper withUsername(String username) {
        this.setUsername(username);
        return this;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getWorktoday() {
        return worktoday;
    }

    public RunfastShopper withWorktoday(String worktoday) {
        this.setWorktoday(worktoday);
        return this;
    }

    public void setWorktoday(String worktoday) {
        this.worktoday = worktoday == null ? null : worktoday.trim();
    }

    public String getLatitude() {
        return latitude;
    }

    public RunfastShopper withLatitude(String latitude) {
        this.setLatitude(latitude);
        return this;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude == null ? null : latitude.trim();
    }

    public String getLongitude() {
        return longitude;
    }

    public RunfastShopper withLongitude(String longitude) {
        this.setLongitude(longitude);
        return this;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude == null ? null : longitude.trim();
    }

    public BigDecimal getInterimremainder() {
        return interimremainder;
    }

    public RunfastShopper withInterimremainder(BigDecimal interimremainder) {
        this.setInterimremainder(interimremainder);
        return this;
    }

    public void setInterimremainder(BigDecimal interimremainder) {
        this.interimremainder = interimremainder;
    }

    public BigDecimal getMinmonety() {
        return minmonety;
    }

    public RunfastShopper withMinmonety(BigDecimal minmonety) {
        this.setMinmonety(minmonety);
        return this;
    }

    public void setMinmonety(BigDecimal minmonety) {
        this.minmonety = minmonety;
    }

    public BigDecimal getRemainder() {
        return remainder;
    }

    public RunfastShopper withRemainder(BigDecimal remainder) {
        this.setRemainder(remainder);
        return this;
    }

    public void setRemainder(BigDecimal remainder) {
        this.remainder = remainder;
    }

    public String getBdchannelid() {
        return bdchannelid;
    }

    public RunfastShopper withBdchannelid(String bdchannelid) {
        this.setBdchannelid(bdchannelid);
        return this;
    }

    public void setBdchannelid(String bdchannelid) {
        this.bdchannelid = bdchannelid == null ? null : bdchannelid.trim();
    }

    public String getBduserid() {
        return bduserid;
    }

    public RunfastShopper withBduserid(String bduserid) {
        this.setBduserid(bduserid);
        return this;
    }

    public void setBduserid(String bduserid) {
        this.bduserid = bduserid == null ? null : bduserid.trim();
    }

    public Integer getBptype() {
        return bptype;
    }

    public RunfastShopper withBptype(Integer bptype) {
        this.setBptype(bptype);
        return this;
    }

    public void setBptype(Integer bptype) {
        this.bptype = bptype;
    }

    public Integer getCreditlevelid() {
        return creditlevelid;
    }

    public RunfastShopper withCreditlevelid(Integer creditlevelid) {
        this.setCreditlevelid(creditlevelid);
        return this;
    }

    public void setCreditlevelid(Integer creditlevelid) {
        this.creditlevelid = creditlevelid;
    }

    public Integer getAgentid() {
        return agentid;
    }

    public RunfastShopper withAgentid(Integer agentid) {
        this.setAgentid(agentid);
        return this;
    }

    public void setAgentid(Integer agentid) {
        this.agentid = agentid;
    }

    public String getAgentname() {
        return agentname;
    }

    public RunfastShopper withAgentname(String agentname) {
        this.setAgentname(agentname);
        return this;
    }

    public void setAgentname(String agentname) {
        this.agentname = agentname == null ? null : agentname.trim();
    }

    public Integer getWorking() {
        return working;
    }

    public RunfastShopper withWorking(Integer working) {
        this.setWorking(working);
        return this;
    }

    public void setWorking(Integer working) {
        this.working = working;
    }

    public Integer getStatus() {
        return status;
    }

    public RunfastShopper withStatus(Integer status) {
        this.setStatus(status);
        return this;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getOtherid() {
        return otherid;
    }

    public RunfastShopper withOtherid(String otherid) {
        this.setOtherid(otherid);
        return this;
    }

    public void setOtherid(String otherid) {
        this.otherid = otherid == null ? null : otherid.trim();
    }

    public Integer getPushtype() {
        return pushtype;
    }

    public RunfastShopper withPushtype(Integer pushtype) {
        this.setPushtype(pushtype);
        return this;
    }

    public void setPushtype(Integer pushtype) {
        this.pushtype = pushtype;
    }

    public Integer getTeamid() {
        return teamid;
    }

    public RunfastShopper withTeamid(Integer teamid) {
        this.setTeamid(teamid);
        return this;
    }

    public void setTeamid(Integer teamid) {
        this.teamid = teamid;
    }

    public String getTeamname() {
        return teamname;
    }

    public RunfastShopper withTeamname(String teamname) {
        this.setTeamname(teamname);
        return this;
    }

    public void setTeamname(String teamname) {
        this.teamname = teamname == null ? null : teamname.trim();
    }

    public String getAlias() {
        return alias;
    }

    public RunfastShopper withAlias(String alias) {
        this.setAlias(alias);
        return this;
    }

    public void setAlias(String alias) {
        this.alias = alias == null ? null : alias.trim();
    }

    public Double getDistance() {
        return distance;
    }

    public RunfastShopper withDistance(Double distance) {
        this.setDistance(distance);
        return this;
    }

    public void setDistance(Double distance) {
        this.distance = distance;
    }

    public BigDecimal getCoefficient() {
        return coefficient;
    }

    public RunfastShopper withCoefficient(BigDecimal coefficient) {
        this.setCoefficient(coefficient);
        return this;
    }

    public void setCoefficient(BigDecimal coefficient) {
        this.coefficient = coefficient;
    }

    public Integer getWorkType() {
        return workType;
    }

    public RunfastShopper withWorkType(Integer workType) {
        this.setWorkType(workType);
        return this;
    }

    public void setWorkType(Integer workType) {
        this.workType = workType;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", createtime=").append(createtime);
        sb.append(", creditrating=").append(creditrating);
        sb.append(", distribution=").append(distribution);
        sb.append(", distributionmun=").append(distributionmun);
        sb.append(", endtime=").append(endtime);
        sb.append(", munber=").append(munber);
        sb.append(", name=").append(name);
        sb.append(", password=").append(password);
        sb.append(", starttime=").append(starttime);
        sb.append(", username=").append(username);
        sb.append(", worktoday=").append(worktoday);
        sb.append(", latitude=").append(latitude);
        sb.append(", longitude=").append(longitude);
        sb.append(", interimremainder=").append(interimremainder);
        sb.append(", minmonety=").append(minmonety);
        sb.append(", remainder=").append(remainder);
        sb.append(", bdchannelid=").append(bdchannelid);
        sb.append(", bduserid=").append(bduserid);
        sb.append(", bptype=").append(bptype);
        sb.append(", creditlevelid=").append(creditlevelid);
        sb.append(", agentid=").append(agentid);
        sb.append(", agentname=").append(agentname);
        sb.append(", working=").append(working);
        sb.append(", status=").append(status);
        sb.append(", otherid=").append(otherid);
        sb.append(", pushtype=").append(pushtype);
        sb.append(", teamid=").append(teamid);
        sb.append(", teamname=").append(teamname);
        sb.append(", alias=").append(alias);
        sb.append(", distance=").append(distance);
        sb.append(", coefficient=").append(coefficient);
        sb.append(", workType=").append(workType);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}